projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c8d4eef
)
Plug another memory leak
author
Matthias Clasen
<mclasen@redhat.com>
Tue, 28 Oct 2014 20:07:25 +0000
(16:07 -0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Tue, 28 Oct 2014 20:07:57 +0000
(16:07 -0400)
Also found by valgrind.
gdk/gdkwindow.c
patch
|
blob
|
history
diff --git
a/gdk/gdkwindow.c
b/gdk/gdkwindow.c
index a4e2bbb5657bba3ac1959fe00e527dbcb4a0794b..3bef1da5312ba7131a47a7d1b065ab903fdcac91 100644
(file)
--- a/
gdk/gdkwindow.c
+++ b/
gdk/gdkwindow.c
@@
-3010,6
+3010,7
@@
gdk_window_mark_paint_from_clip (GdkWindow *window,
cairo_region_subtract (impl_window->current_paint.flushed_region, clip_region);
cairo_region_union (impl_window->current_paint.need_blend_region, clip_region);
}
+ cairo_region_destroy (clip_region);
/* Clear the area on the double buffer surface to transparent so we
can start drawing from scratch the area "above" the flushed